package com.hech.hmall.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hanjiafeng
 * @date 2021/5/6 20:31
 * @desc todo
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Integer id;
    /**
     * 账号
     */
    private String account;
    /**
     * 姓名
     */
    private String name;
    /**
     * 密码
     */
    private String password;
    /**
     * 性别,0:男,1:女
     */
    private Byte sex;
    /**
     * 手机号码
     */
    private String phone;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 状态,0:正常,1:注销,2:封禁
     */
    private Byte status;
}
